/*
 * Sdl.h
 *
 *  Created on: 12 nov. 2011
 *      Author: alex
 */

#ifndef SDL_H_
#define SDL_H_

#include <SDL/SDL.h>

SDL_Surface* initSDL(void);
void dessine_grille( SDL_Surface *ecran, const SDL_Surface **gris, const SDL_Surface *marron, Sudoku_s *grille );
void colorie_grille( SDL_Surface *ecran, SDL_Surface **vert, SDL_Surface **marron, Sudoku_s *grille, const SDL_Rect const *pos);
void peint_lettre( SDL_Surface *ecran, SDL_Surface **cases );
void test_img( SDL_Surface *ecran, SDL_Surface **gris );
void remove_color( SDL_Surface *ecran, SDL_Surface **gris, Sudoku_s *grille );
void init_cases( SDL_Surface ***gris, SDL_Surface ***blanc, SDL_Surface ***vert_claire, SDL_Surface ***vert_fonce, SDL_Surface ***marron);


#endif /* SDL_H_ */
